<?php
$dtds['index']['taobao_api_appkey']['name'] 		= 'App Key';
$dtds['index']['taobao_api_appsecret']['name']  	= 'App Secret';
$dtds['index']['taobao_api_pid']['name']  			= '阿里妈妈PID';
$dtds['index']['taobao_api_nick']['name']  		= '淘宝网会员帐号';
$dtds['index']['format']['name']  	= 'API调用方式';
$dtds['site']['template']['name']  	= '模板选择';
$dtds['site']['site_name']['name']  	= '网站名称';
$dtds['site']['beian']['name']  		= '备案信息';
$dtds['site']['email']['name']  		= '站长E-mail';
$dtds['site']['qq']['name']  			= '站长QQ';
$dtds['site']['wangwang']['name']  		= '站长旺旺';
$dtds['site']['tongji']['name']  		= '统计代码';
$dtds['seo']['mode']['name']  			= 'URL模式';
$dtds['seo']['postfix']['name']  		= 'URL后缀';
$dtds['seo']['listshortcut']['name']  	= '列表页URL简化';
$dtds['seo']['detailshortcut']['name']  = '详情页URL简化';
$dtds['seo']['postlistshortcut']['name']  = '文章列表页URL简化';
$dtds['seo']['postdetailshortcut']['name']  = '文章详情页URL简化';
$dtds['seo']['pindaoindexshortcut']['name']  = '频道页URL简化';
$dtds['seo']['pageindexshortcut']['name']  = '专题页URL简化';
$dtds['seo']['indextitle']['name']  	= '首页标题';
$dtds['seo']['indexkeyword']['name']  	= '首页关键词';
$dtds['seo']['indexdescription']['name']  	= '首页描述';
$dtds['seo']['listtitle']['name']  			= '列表页标题';
$dtds['seo']['listkeyword']['name']  		= '列表页关键词';
$dtds['seo']['listdescription']['name']  	= '列表页描述';
$dtds['seo']['detailtitle']['name']  		= '详情页标题';
$dtds['seo']['detailkeyword']['name']  		= '详情页关键词';
$dtds['seo']['detaildescription']['name']  	= '详情页描述';
$dtds['cache']['listcacheenable']['name']  		= '列表页缓存开启';
$dtds['cache']['detailcacheenable']['name']  	= '详情页页缓存开启';
$dtds['cache']['listcacheperiod']['name']  		= '列表页缓存周期';
$dtds['cache']['detailcacheperiod']['name']  	= '详情页缓存周期';
$dtds['cache']['maxdirsize']['name']  			= '缓存目录大小';
$dtds['return']['rate']['name']  				= '返利比率';
$dtds['return']['return_min']['name']  			= '提现下限';
$dtds['return']['reg_money']['name']  			= '注册佣金';

$dtds['list']['page_size']['name']  	= '显示商品数';
$dtds['list']['cid']['name']  			= '类目ID';
$dtds['list']['area']['name']  			= '商品所在地';
$dtds['list']['start_price']['name']  	= '起始价格';
$dtds['list']['end_price']['name']  	= '最高价格';
$dtds['list']['start_commissionRate']['name']  = '起始佣金比率';
$dtds['list']['end_commissionRate']['name']  	= '最高佣金比率';
$dtds['list']['start_commissionNum']['name']  = '30天最低累计推广量';
$dtds['list']['end_commissionNum']['name']  	= '30天最高累计推广量';
$dtds['list']['start_credit']['name']  		= '起始信用';
$dtds['list']['end_credit']['name']  			= '最高信用';
$dtds['list']['guarantee']['name']  			= '是否消保商家';

$dtds['vip']['id']['name'] 			= 'VIP ID';
$dtds['vip']['seccode']['name']  	= 'VIP序列号';

$dtds['index']['taobao_api_appkey']['value']['required'] = true;
$dtds['index']['taobao_api_appsecret']['value']['required'] = true;
$dtds['index']['taobao_api_pid']['value']['required'] = true;
$dtds['index']['taobao_api_nick']['value']['required'] = true;
$dtds['index']['format']['value']['required'] = true;
$dtds['site']['template']['value']['required'] = true;
$dtds['site']['site_name']['value']['required'] = true;
$dtds['site']['beian']['value']['required'] = false;
$dtds['site']['email']['value']['required'] = false;
$dtds['site']['qq']['value']['required'] = false;
$dtds['site']['wangwang']['value']['required'] = false;
$dtds['site']['tongji']['value']['required'] = false;
$dtds['seo']['mode']['value']['required'] 			= true;
$dtds['seo']['postfix']['value']['required'] 		= false;
$dtds['seo']['postfix']['value']['mask']  			= "/^(\.[a-zA-Z]+)?$/i";
$dtds['seo']['listshortcut']['value']['required'] 	= false;
$dtds['seo']['listshortcut']['value']['mask']  		= "/^([a-zA-Z]+)?$/i";
$dtds['seo']['detailshortcut']['value']['required'] = false;
$dtds['seo']['detailshortcut']['value']['mask']  	= "/^([a-zA-Z]+)?$/i";
$dtds['seo']['postlistshortcut']['value']['required'] 	= false;
$dtds['seo']['postlistshortcut']['value']['mask']  		= "/^([a-zA-Z]+)?$/i";
$dtds['seo']['postdetailshortcut']['value']['required'] 	= false;
$dtds['seo']['postdetailshortcut']['value']['mask']  	= "/^([a-zA-Z]+)?$/i";
$dtds['seo']['pindaoindexshortcut']['value']['required'] 	= false;
$dtds['seo']['pindaoindexshortcut']['value']['mask']  		= "/^([a-zA-Z]+)?$/i";
$dtds['seo']['pageindexshortcut']['value']['required'] 	= false;
$dtds['seo']['pageindexshortcut']['value']['mask']  		= "/^([a-zA-Z]+)?$/i";
$dtds['seo']['indextitle']['value']['required'] = true;
$dtds['seo']['indexkeyword']['value']['required'] = true;
$dtds['seo']['indexdescription']['value']['required'] = true;
$dtds['seo']['listtitle']['value']['required'] = true;
$dtds['seo']['listkeyword']['value']['required'] = true;
$dtds['seo']['listdescription']['value']['required'] = true;
$dtds['seo']['detailtitle']['value']['required'] = true;
$dtds['seo']['detailkeyword']['value']['required'] = true;
$dtds['seo']['detaildescription']['value']['required'] = true;

$dtds['cache']['listcacheenable']['value']['required'] 		= false;
$dtds['cache']['detailcacheenable']['value']['required'] 	= false;
$dtds['cache']['listcacheperiod']['value']['required'] 		= true;
$dtds['cache']['listcacheperiod']['value']['mask']  		= "/^[0-9]+$/i";
$dtds['cache']['detailcacheperiod']['value']['required'] 	= true;
$dtds['cache']['detailcacheperiod']['value']['mask']  		= "/^[0-9]+$/i";
$dtds['cache']['maxdirsize']['value']['required'] 			= true;
$dtds['cache']['maxdirsize']['value']['mask']  				= "/^[0-9]+$/i";

$dtds['return']['rate']['value']['required'] 				= true;
$dtds['return']['rate']['value']['mask']  					= "/^[0-9]+$/i";
$dtds['return']['return_min']['value']['required'] 			= true;
$dtds['return']['return_min']['value']['mask']  			= "/^[0-9]+$/i";
$dtds['return']['reg_money']['value']['required'] 			= true;
$dtds['return']['reg_money']['value']['mask']  				= "/^[0-9]+$/i";

$dtds['list']['page_size']['value']['required']  		= false;
$dtds['list']['page_size']['value']['mask']  			= "/^\d+$/i";
$dtds['list']['page_size']['value']['min_value']  		= 1;
$dtds['list']['page_size']['value']['max_value']  		= 40;
$dtds['list']['cid']['value']['required']  				= false;
$dtds['list']['cid']['value']['mask']  					= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['list']['area']['value']['required']  			= false;
$dtds['list']['start_price']['value']['required']  		= false;
$dtds['list']['start_price']['value']['mask']  			= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['list']['end_price']['value']['required']  			= false;
$dtds['list']['end_price']['value']['mask']  				= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['list']['start_commissionRate']['value']['required']  = false;
$dtds['list']['start_commissionRate']['value']['mask']  		= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['list']['end_commissionRate']['value']['required']  	= false;
$dtds['list']['end_commissionRate']['value']['mask']  		= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['list']['start_commissionNum']['value']['required']  = false;
$dtds['list']['start_commissionNum']['value']['mask']  		= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['list']['end_commissionNum']['value']['required']  	= false;
$dtds['list']['end_commissionNum']['value']['mask']  		= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['list']['start_credit']['value']['required']  		= true;
$dtds['list']['end_credit']['value']['required']  			= true;
$dtds['list']['guarantee']['value']['required']  		= false;

$dtds['vip']['id']['value']['required']  			= true;
$dtds['vip']['seccode']['value']['required']  		= true;

$dtds['index']['taobao_api_appkey']['message']['required'] = '%s必填项';
$dtds['index']['taobao_api_appsecret']['message']['required'] = '%s必填项';
$dtds['index']['taobao_api_pid']['message']['required'] = '%s必填项';
$dtds['index']['taobao_api_nick']['message']['required'] = '%s必填项';
$dtds['index']['format']['message']['required'] = '%s必选项';
$dtds['site']['template']['message']['required'] = '%s必选项';
$dtds['site']['site_name']['message']['required'] = '%s必填项';
$dtds['site']['beian']['message']['required'] = '%s必填项';
$dtds['site']['email']['message']['required'] = '%s必填项';
$dtds['site']['qq']['message']['required'] = '%s必填项';
$dtds['site']['wangwang']['message']['required'] = '%s必填项';
$dtds['site']['tongji']['message']['required'] = '%s必填项';
$dtds['seo']['mode']['message']['required'] 		= '%s必填项';
$dtds['seo']['postfix']['message']['required'] 		= '%s必填项';
$dtds['seo']['postfix']['message']['mask']  			= "只能是.开头加上a-zA-Z的字母组合";
$dtds['seo']['listshortcut']['message']['required'] 	= '%s必填项';
$dtds['seo']['listshortcut']['message']['mask']  		= "只能是a-zA-Z的字母组合";
$dtds['seo']['detailshortcut']['message']['required'] = '%s必填项';
$dtds['seo']['detailshortcut']['message']['mask']  	= "只能是a-zA-Z的字母组合";
$dtds['seo']['postlistshortcut']['message']['required'] 	= '%s必填项';
$dtds['seo']['postlistshortcut']['message']['mask']  		= "只能是a-zA-Z的字母组合";
$dtds['seo']['postlistshortcut']['message']['required'] = '%s必填项';
$dtds['seo']['postlistshortcut']['message']['mask']  	= "只能是a-zA-Z的字母组合";
$dtds['seo']['pindaoindexshortcut']['message']['required'] = '%s必填项';
$dtds['seo']['pindaoindexshortcut']['message']['mask']  	= "只能是a-zA-Z的字母组合";
$dtds['seo']['pageindexshortcut']['message']['required'] = '%s必填项';
$dtds['seo']['pageindexshortcut']['message']['mask']  	= "只能是a-zA-Z的字母组合";
$dtds['seo']['indextitle']['message']['required'] = '%s必填项';
$dtds['seo']['indexkeyword']['message']['required'] = '%s必填项';
$dtds['seo']['indexdescription']['message']['required'] = '%s必填项';
$dtds['seo']['listtitle']['message']['required'] = '%s必填项';
$dtds['seo']['listkeyword']['message']['required'] = '%s必填项';
$dtds['seo']['listdescription']['message']['required'] = '%s必填项';
$dtds['seo']['detailtitle']['message']['required'] = '%s必填项';
$dtds['seo']['detailkeyword']['message']['required'] = '%s必填项';
$dtds['seo']['detaildescription']['message']['required'] = '%s必填项';

$dtds['cache']['listcacheenable']['message']['required'] 	= '%s必填项';
$dtds['cache']['detailcacheenable']['message']['required'] 	= '%s必填项';
$dtds['cache']['listcacheperiod']['message']['required'] 	= '%s必填项';
$dtds['cache']['listcacheperiod']['message']['mask']  		= '%s必须是数字';
$dtds['cache']['detailcacheperiod']['message']['required'] 	= '%s必填项';
$dtds['cache']['detailcacheperiod']['message']['mask']  	= '%s必须是数字';
$dtds['cache']['maxdirsize']['message']['required'] 		= '%s必填项';
$dtds['cache']['maxdirsize']['message']['mask']  			= '%s必须是数字';

$dtds['return']['rate']['message']['required'] 				= '%s必填项';
$dtds['return']['rate']['message']['mask']  				= '%s必须是数字';
$dtds['return']['return_min']['message']['required'] 		= '%s必填项';
$dtds['return']['return_min']['message']['mask']  			= '%s必须是数字';
$dtds['return']['reg_money']['message']['required'] 		= '%s必填项';
$dtds['return']['reg_money']['message']['mask']  			= '%s必须是数字';

$dtds['list']['page_size']['message']['required']  			= "%s必填项";
$dtds['list']['page_size']['message']['mask']  				= "%s只能是数字";
$dtds['list']['page_size']['message']['min_value']  		= "%s必须是大于0的数字";
$dtds['list']['page_size']['message']['max_value']  		= "%s必须是小于等于40的数字";
$dtds['list']['cid']['message']['required']  				= "%s必填项";
$dtds['list']['cid']['message']['mask']  					= "%s只能是数字";
$dtds['list']['area']['message']['required'] 				= "%s必填项";
$dtds['list']['start_price']['message']['required'] 		= "%s必填项";
$dtds['list']['start_price']['message']['mask']  			= "%s只能是数字";
$dtds['list']['end_price']['message']['required']  		= "%s必填项";
$dtds['list']['end_price']['message']['mask']  			= "%s只能是数字";
$dtds['list']['start_commissionRate']['message']['required']  	= "%s必填项";
$dtds['list']['start_commissionRate']['message']['mask']  		= "%s只能是数字";
$dtds['list']['end_commissionRate']['message']['required']  	= "%s必填项";
$dtds['list']['end_commissionRate']['message']['mask']  		= "%s只能是数字";
$dtds['list']['start_commissionNum']['message']['required']  	= "%s必填项";
$dtds['list']['start_commissionNum']['message']['mask']  		= "%s只能是数字";
$dtds['list']['end_commissionNum']['message']['required']  	= "%s必填项";
$dtds['list']['end_commissionNum']['message']['mask']  		= "%s只能是数字";
$dtds['list']['start_credit']['message']['required']  	= "%s必填项";
$dtds['list']['end_credit']['message']['required']  	= "%s必填项";
$dtds['list']['guarantee']['message']['required'] 		= "%s必填项";

$dtds['vip']['id']['message']['required']  			= "%s必填项";
$dtds['vip']['seccode']['message']['required'] 		= "%s必填项";
